package me.spring.cloud.components.starter.business.log.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author YuanWei
 * @description: 业务日志注解
 * @date 2019/3/27 17:27
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface BusinessLog {

    /**
     * 日志描述
     * @return
     */
    String desc() default "";

    /**
     * mq队列名称
     * @return
     */
    String queue() default "business_log_queue";
}
